<template>
	<view>
		<cu-custom :key="'header'+headerKey" bgColor="bg-blue-light" :isBack="true" :title="title"></cu-custom>
		<web-view :style="showNav?'margin-top: 60rpx;':''" :src="url" :progress="false">
		</web-view>
	</view>
</template>

<script>
	import store from "@/store"
	
	export default {
		onShow() {
			this.headerKey += 1;
		},
		data() {
			return {
				headerKey:0,
				showNav:store.state.hh_showNav,
				CustomBar: this.$CustomBar||70,
				title:"外部链接",
				url:"",
				userType:store.state.hh_userType
			}
		},
		onLoad: function (option) {
			if(option.headerTitle){
				this.title=option.headerTitle
			}
			let url=option.url
			if(url){
				this.url=url;
			}
		},
		methods: {
		}
	}
</script>

<style>

</style>
